package com.schoolpro.service;


import com.schoolpro.pojo.DTO.CategoryAddDTO;
import com.schoolpro.pojo.DTO.CategoryUpdateDTO;
import com.schoolpro.pojo.VO.CategoryWithPropertyVO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author : Hinton
* @时间 : 1月 22 22:31
*/


@Service
public interface  CategoryService {
    void addCategory(CategoryAddDTO categoryAddDTO);

    void deleteCategory(List<Integer> ids);

    void updateCategory(CategoryUpdateDTO categoryUpdateRequest);

    /**
     * 根据id获取类目信息
     * @param id
     * @return
     */
    CategoryWithPropertyVO getCategoryWithProperty(Integer id);
}
